package Data;

import java.util.ArrayList;

public class OtherData {
	private ArrayList<Course> courseList = new ArrayList<Course>();
	private ArrayList<SelectionRecord> selectionRecordList = new ArrayList<SelectionRecord>();
	private ArrayList<TeachingPlan> teachingPlanList = new ArrayList<TeachingPlan>();
	
	public void addNewCourse(Course course) {
		courseList.add(course);
	}

	public void addNewSelectionRecord(SelectionRecord selectionRecord) {
		selectionRecordList.add(selectionRecord);
	}
	
	public void addNewTeachingPlan(TeachingPlan teachingPlan) {
		teachingPlanList.add(teachingPlan);
	}
	
	public void deleteCourse(Course course){
		courseList.remove(course);
	}
	
	public void deleteSelectionRecord(SelectionRecord selectionRecord){
		selectionRecordList.remove(selectionRecord);
	}
	
	public void deleteTeachingPlan(TeachingPlan teachingPlan){
		teachingPlanList.remove(teachingPlan);
	}

	public ArrayList<Course> getCourseList() {
		return courseList;
	}

	public ArrayList<SelectionRecord> getSelectionRecordList() {
		return selectionRecordList;
	}
	
	public ArrayList<TeachingPlan> getTeachingPlanList() {
		return teachingPlanList;
	}


}
